// pages/index/bannner/bannner.js
Component({
  properties: {
    bannerList: {
      type: Array,
      value: []
    }
  },

  data: {
    activeIndex: 0
  },

  methods: {
    getSwiperIndex(e) {
      this.setData({
        activeIndex: e.detail.current
      })
    }
  }
})
